# Contributor: Jakub Jirutka <jakub@jirutka.cz>
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
pkgname=boson
pkgver=0_git20211219
_gitrev=9b1786213591691b8cb41ec06ada111af11c30a0
pkgrel=0
pkgdesc="Implementation of the meson language written in C11"
url="https://git.sr.ht/~bl4ckb0ne/boson"
arch="all"
license="GPL-3.0-only"
source="$pkgname-$_gitrev.tar.gz::https://git.sr.ht/~bl4ckb0ne/boson/archive/$_gitrev.tar.gz"
builddir="$srcdir/$pkgname-$_gitrev"

build() {
	./configure --prefix=/usr
	make
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="
65394c70ef6ad696955145d7d11807b05ec0e33c046f57f8b289078a75e4e9b326ffb6b51e9f121333c94d7349fc0903550299518266ec7a3fc600dc0d701fd9  boson-9b1786213591691b8cb41ec06ada111af11c30a0.tar.gz
"
